<extend name="Base/common"/>

<block name="style">
    <link href="__CSS__/course.css" rel="stylesheet" type="text/css"/>
</block>
<block name="header">
    <include file="Public/_nav"/>
</block>
<block name="body">
<div class="row">
    <div class="course_list">
    <!-- course_list     <div style="position: relative">-->
        <volist name="contents" id="vo">
            <div class="item_inner">
                <div><h3><a href="{:U('course/Index/index')}" class="text-more"
                    style="width: 100%">{$vo.title}</a></h3></div>
                <div class="item_core">

                    {$vo.content}
                 </div>
                <div class="pull-right ctime">{$vo.create_time|friendlyDate}</div>
            </div>
            <!-- <div class="spliter"></div>   分隔线 U('course/Index/ContentDetail',array('id'=>$vo['id']))-->
           
    </volist>
    </div>
        <if condition="count($contents) eq 0">
            <div style="font-size:3em;padding:2em 0;color: #ccc;text-align: center">暂无课程内容，加油哦。O(∩_∩)O~</div>
        </if>
    <div>
        <div class="pull-right">

            {:getPagination($totalPageCount,16)}
        </div>
    </div>
</div>

 <include file="_box"/> 
    </div>
</block>


